<?php
/**
 * Elgg bookmarks plugin everyone page
 *
 * @package Bookmarks
 */

elgg_register_title_button();

$content = '<div class="add-score">' . elgg_view('output/url', array(
		'href' => "golfscore/add",
		'text' => elgg_echo('golfscore:add'),
		'is_trusted' => true,
)) . '</div>';

$content .= elgg_list_golf_score();

$title = elgg_echo('golfscore:all');

$params = array(
		'content' =>  $content,
		'filter' => '',
		'sidebar' => '',
		'nav' => '',
		'class' => 'elgg-river-layout',
);

$body = elgg_view_layout('one_sidebar', $params);

echo elgg_view_page($title, $body);
